package com.financial.business.yspay.dto;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Davidbieber
 * @description 银盛支付宝支付字段
 * @email davidbieber@163.com
 * @date 2019/11/13 9:06 AM
 */
public class YsAliPayDTO implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 交易标题
     */
    private String subject;
    /**
     * 交易金额
     */
    private BigDecimal total_amount;
    /**
     * 平台订单号
     */
    private String out_trade_no;
    /**
     * 支付宝用户ID
     */
    private String buyer_id;
    /**
     * 支付类型
     */
    private String pay_type;
    /**
     * 对接平台商户号
     */
    private String store_no;
    /**
     * 平台支付单号
     */
    private String pay_id;
    /**
     * 支付通道费用
     */
    private BigDecimal pay_fee;

    /*
     *回执地址
     */
    private  String notify_url;

    /*
     *业务类型
     */
    private  String business_type;

    /*
     *对接平台标识:
     */
    private  String platform_no;

    public YsAliPayDTO() {
        super();
    }

    public YsAliPayDTO(String subject, BigDecimal total_amount, String out_trade_no, String buyer_id, String pay_type, String store_no, String pay_id, BigDecimal pay_fee, String notify_url, String business_type, String platform_no) {
        this.subject = subject;
        this.total_amount = total_amount;
        this.out_trade_no = out_trade_no;
        this.buyer_id = buyer_id;
        this.pay_type = pay_type;
        this.store_no = store_no;
        this.pay_id = pay_id;
        this.pay_fee = pay_fee;
        this.notify_url = notify_url;
        this.business_type = business_type;
        this.platform_no = platform_no;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public BigDecimal getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(BigDecimal total_amount) {
        this.total_amount = total_amount;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getBuyer_id() {
        return buyer_id;
    }

    public void setBuyer_id(String buyer_id) {
        this.buyer_id = buyer_id;
    }

    public String getPay_type() {
        return pay_type;
    }

    public void setPay_type(String pay_type) {
        this.pay_type = pay_type;
    }

    public String getStore_no() {
        return store_no;
    }

    public void setStore_no(String store_no) {
        this.store_no = store_no;
    }

    public String getPay_id() {
        return pay_id;
    }

    public void setPay_id(String pay_id) {
        this.pay_id = pay_id;
    }

    public BigDecimal getPay_fee() {
        return pay_fee;
    }

    public void setPay_fee(BigDecimal pay_fee) {
        this.pay_fee = pay_fee;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getBusiness_type() {
        return business_type;
    }

    public void setBusiness_type(String business_type) {
        this.business_type = business_type;
    }

    public String getPlatform_no() {
        return platform_no;
    }

    public void setPlatform_no(String platform_no) {
        this.platform_no = platform_no;
    }

    @Override
    public String toString() {
        return "YsAliPayDTO{" +
                "subject='" + subject + '\'' +
                ", total_amount=" + total_amount +
                ", out_trade_no='" + out_trade_no + '\'' +
                ", buyer_id='" + buyer_id + '\'' +
                ", pay_type='" + pay_type + '\'' +
                ", store_no='" + store_no + '\'' +
                ", pay_id='" + pay_id + '\'' +
                ", pay_fee=" + pay_fee +
                ", notify_url='" + notify_url + '\'' +
                ", business_type='" + business_type + '\'' +
                ", platform_no='" + platform_no + '\'' +
                '}';
    }
}
